package com.lottery.dao.qiuqiu.accoutDao;

import com.lottery.entity.Loaclauth;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

//登录接口 
public interface LoaclauthDao {
	// 用手机号来查询验证密码
	Loaclauth selectphone(String phoneNum);

	// 增加用户信息 手机号和密码
	void insertloaclauth(Loaclauth loaclauth);

	@Update("update loaclauth  set password = #{password} where phone_num = #{username}")
    void updatePasswordByUserId(@Param("username") String userId, @Param("password") String crypt);
}
